<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><s:text name="jibenshezhi"/></title>
<link href="<s:url value="/css/style.css"/>" rel="stylesheet" type="text/css" />
<link href="<s:url value="/css/admin.css"/>" rel="stylesheet" type="text/css" />
<script src="<s:url value="/js/jquery.js"/>" type="text/javascript"></script>
</head>
<body>
<div class="container">
    <div class="title">基本设置管理</div>
    <div class="content">
        <form action="<s:url value='/admin/setting'/>" method="post">
        <table class="tab1">
            <thead>
                <tr>
                    <td width="5%">序号</td>
                    <td width="10%">名称</td>
                    <td>值</td>
                </tr>
            </thead>
            <tbody class="center">
            
            <s:iterator value="keys" id="k" status="status">
                <tr>
                    <td><s:property value="#status.count"/></td>
                    <td>${k}</td>
                    <td><input type="text" name="value" value="%{get}"></td>
                </tr>
            </s:iterator>   
            </tbody>
        </table>
        <div class="btns">
            <input type="submit" value="提交" class="btn" />
            <input type="reset" value="重置" class="btn" />
        </div>
        </form>
    </div>
</div>
</body>
</html>